﻿//======================================================
//==     (c)2008 aspxcms inc by NeTCMS v1.0              ==
//==          Forum:bbs.aspxcms.com                   ==
//==         Website:www.aspxcms.com                  ==
//======================================================
using System;
using System.Collections.Generic;
using System.Text;
using NetCMS.DALFactory;
using NetCMS.Model;

namespace NetCMS.Content
{
    public class UserAdapt
    {
        NetCMS.DALFactory.IUserAdapt dal;
        public UserAdapt()
        {
            dal = DataAccess.CreateUserAdapt();
        }

        public bool isExist(string username)
        {
            return dal.isExist(username);
        }

        public string getUserNumByUserName(string username)
        {
            return dal.getUserNumByUserName(username);
        }
    }
}
